<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Jsl XML Test</title>
<script type="text/javascript" src="../src/core.js"></script>
<script type="text/javascript" src="../src/hash.js"></script>
<script type="text/javascript" src="../src/observable.js"></script>
<script type="text/javascript" src="../src/url.js"></script>
<script type="text/javascript" src="../src/ajax/ajax.js"></script>
<script type="text/javascript" src="../src/ajax/ajax-proxy.js"></script>
<script type="text/javascript" src="../src/ajax/js-http-request.js"></script>
<script type="text/javascript" src="../src/css.js"></script>
<script type="text/javascript" src="../src/dom/sizzle.js"></script>
<script type="text/javascript" src="../src/dom/collection.js"></script>
<script type="text/javascript" src="../src/dom/element.js"></script>
<script type="text/javascript" src="../src/dom/xml.js"></script>
<script type="text/javascript" src="../src/ready.js"></script>
<script type="text/javascript">
window.on( 'load', function() {
	Ajax.on( 'exception', function( e) {
		alert( e.message);
	});
	Ajax.configure({ proxy : {
		proxyUrl: '/proxy/php/proxy.php'
	}});
});
function doXmlLoad() {
	(new Xml)
		.un( 'load')
		.on( 'load', function() {
			alert(
				this.query( 'item>guid').item( 0).text()
			);
		})
		.load( 'http://mikhailstadnik.com/feed')
	;
};
</script>
</head>
<body>

<input value="Get XML" type="button" onclick="doXmlLoad()" />

</body>
</html>